import { createApp } from 'vue'
import { createPinia } from 'pinia'
import {lazyPlugin} from '@/directives/index.js'
import {componentPlugin} from '@/components/index.js'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import App from './App.vue'
import '@/styles/common.scss'
import router from './router/index.js'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)
app.use(pinia)
app.use(router)
app.mount('#app')
app.use(lazyPlugin).use(componentPlugin)

